<div class="layui-form-item">
    <label for="" class="layui-form-label">名称</label>
    <div class="layui-input-inline">
        <input type="text" maxlength="16" name="name" value="{$model->name??''}" lay-verify="required" placeholder="请输入名称" class="layui-input" >
    </div>
</div>

<div class="layui-form-item">
    <label for="" class="layui-form-label">描述</label>
    <div class="layui-input-inline">
        <textarea name="description" class="layui-textarea">{$model->description??''}</textarea>
    </div>
</div>

<div class="layui-form-item">
    <div class="layui-input-block">
        <button type="submit" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="formDemo">确 认</button>
        <a  class="layui-btn layui-btn-sm" href="{:url('index')}" >返 回</a>
    </div>
</div>